package siam.ui;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

/**
 * Class {@MouseDirection Listener} extends {@link MouseListener}
 * Notify the event controller if LabelForce are performed
 * @author Motassim Saad
 *
 */
public class MouseDirectionListener implements MouseListener {

	private Force force;

	public MouseDirectionListener(Force force) {
		this.force=force;
	}

	public void mouseClicked(MouseEvent e) {
		EventControler.instance.notifyForce(force);
	}

	public void mousePressed(MouseEvent e) {
	}

	public void mouseReleased(MouseEvent e) {
	}

	public void mouseEntered(MouseEvent e) {
	}

	public void mouseExited(MouseEvent e) {
	
	}

}
